package org.sun.basic.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;



@Entity
@Table(name="t_user")
public class User {

	private String id;
	@Override
	public String toString() {
		return "User [id=" + id + ", username=" + username + "]";
	}
	private String username;
	@Id
	public String getId() {
		return id;
	}
	public User() {
	}
	
	public User(String id, String username) {
		super();
		this.id = id;
		this.username = username;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	
}
